projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0259f86
)
Fix comparison jeeps altitude
author
oliskoli
<oliskoli>
Sun, 9 Oct 2005 16:48:44 +0000
(16:48 +0000)
committer
oliskoli
<oliskoli>
Sun, 9 Oct 2005 16:48:44 +0000
(16:48 +0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index 8557ae1df10996eb41d809a43e89d6ad88909f1f..81023385c94e8fe75b0db2da10876481b0addaa5 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-217,7
+217,7
@@
waypt_read(void)
*/
if ((way[i]->alt == (float) (1U<<31)) ||
(way[i]->alt == INT_MAX) ||
- (way[i]->alt == 1.0e25)
+ (way[i]->alt ==
(float)
1.0e25)
) {
wpt_tmp->altitude = unknown_alt;
} else {